import numpy as np

# 创建两个一维数组
a = np.array([1, 2, 3])
b = np.array([4, 5, 6])

# 计算数组的和
c = a + b
print("数组和：", c)

# 计算数组的乘积
d = a * b
print("数组乘积：", d)

# 计算数组的均值
mean_a = np.mean(a)
print("数组a的均值：", mean_a)

# 计算数组的最大值
max_b = np.max(b)
print("数组b的最大值：", max_b)
